package com.vimi8.ebb.auth.api;

import com.vimi8.ebb.auth.configuration.HttpResponseEntity;


import com.vimi8.ebb.auth.dto.SignatureDto;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.*;

@javax.annotation.Generated(value = "class io.swagger.codegen.languages.SpringCodegen", date = "2016-11-16T02:04:07.457Z")

@RestController
@Api(value = "signature", description = "the signature API")
public interface SignatureApi {

    @ApiOperation(value = "图片上传签名", notes = "通过后台代理向阿里云OOS请求存储服务返回签名信息.", response = SignatureDto.class, tags={ "图片上传签名", })
    @ApiResponses(value = { 
        @ApiResponse(code = 200, message = "成功,用户信息", response = SignatureDto.class),
        @ApiResponse(code = 200, message = "失败,返回消息", response = SignatureDto.class) })
    @RequestMapping(value = "/signature/",
        method = RequestMethod.POST)
    HttpResponseEntity<SignatureDto> signaturePost(@ApiParam(value = "上传目录") @RequestParam(value = "userDir", required = false) String userDir);

}
